package com.custom.spring.start.mvc;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * ClassName: MvcConfig
 * Description:spring mvc 配置
 *
 * @author kang.wang03
 *         Date 16/5/26
 */
@Data
@ConfigurationProperties(prefix = "quickstart.mvc")
public class MvcConfig {
    private static final String UTF_8="utf-8";
    private List<String> urlMappings;
    private List<String> encodingUrlMappings;
    private String contextConfigLocation;
    private int loadOnStartup=1;
    private String encoding=UTF_8;
}
